package com.shopcentre15.shopcentre.FormalShopExplot.Dao.Consumer;

import com.shopcentre15.shopcentre.FormalShopExplot.Entity.ShopConsumer;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ConsumerDao {
    Integer register(ShopConsumer shopConsumer);

    ShopConsumer login(ShopConsumer shopConsumer);

    ShopConsumer getConsumer(String account);

    Integer updateConsumer(ShopConsumer shopConsumer);
}
